package com.yf.service;

import com.yf.dto.Page;
import com.yf.entity.Subject;

public interface SubjectService {

    void addSubject(Subject subject);

    void deleteSubject(Integer subjectId);

    void updateSubject(Subject subject);

    Subject getSubjectBySubjectId(Integer subjectId);

    Page getSubjectPage(Integer pageNo, Integer pageSize);
}
